import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//引入vant组件
import Vant from 'vant';
//引入vantcss
import 'vant/lib/index.css';
//使用中间件
Vue.use(Vant);
import http from './http'
//添加到原型链伤，方便使用
Vue.prototype.$http=http


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
